package api

import (
	"file_sys_server/service"
	"net/http"

	"github.com/gin-gonic/gin"
)

// 添加本地项目到数据库
func AddUnionProjectBean_FromLocal_MFDCG(c *gin.Context) {
	response := service.AddUnionProejctsFromLocal()
	c.IndentedJSON(http.StatusOK, response)
}

// 获取数据库中存储所有样品信息
func GetUnionProjectList_MFDCG(c *gin.Context) {
	response := service.GetUnionProjectList()
	c.IndentedJSON(http.StatusOK, response)
}
